package pojo;

/**
 * Relationship entity. @author MyEclipse Persistence Tools
 */

public class Relationship implements java.io.Serializable {

	// Fields

	private RelationshipId id;
	private String description;
	private Integer state;

	// Constructors

	/** default constructor */
	public Relationship() {
	}

	/** minimal constructor */
	public Relationship(RelationshipId id, Integer state) {
		this.id = id;
		this.state = state;
	}

	/** full constructor */
	public Relationship(RelationshipId id, String description, Integer state) {
		this.id = id;
		this.description = description;
		this.state = state;
	}

	// Property accessors

	public RelationshipId getId() {
		return this.id;
	}

	public void setId(RelationshipId id) {
		this.id = id;
	}

	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}